package com.example.tellwin.mine.bean;

import androidx.annotation.NonNull;

/**
 * @author : LinZePeng
 * @date : 2020/12/1
 * @Describe ：
 **/
public class GradeBean implements CharSequence {
    private String gradeId;
    private String gradeName;

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public int length() {
        return gradeName.length();
    }

    @Override
    public char charAt(int index) {
        return gradeName.charAt(index);
    }

    @NonNull
    @Override
    public CharSequence subSequence(int start, int end) {
        return gradeName.subSequence(start ,end);
    }

    @NonNull
    @Override
    public String toString() {
        return gradeName;
    }
}
